package com.danco.planner.sortings.sortby;

import java.util.Comparator;

import com.danco.planner.sortings.compareby.ICompareByStudentsCount;

public class SortByStudentsCount implements Comparator<ICompareByStudentsCount> {


	@Override
	public int compare(ICompareByStudentsCount o1, ICompareByStudentsCount o2) {
		return o1.getStudentsCountForCompare().compareTo(o2.getStudentsCountForCompare());
	}

}
